package com.snow.platform.auth.po;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@TableName("tbl_menu")
@ToString
public class Menu {
    private Long id;

    private Long parentId;

    private String name;

    private String code;

    private String description;

    private String url;

    private Long creater;

    private String createrName;

    private LocalDateTime createDate;

    private Long updater;

    private String updaterName;

    private LocalDateTime updateDate;

    private int orderNum;

    private Boolean isDelete;

    private String glyph;

    @TableField(exist = false)
    private List<Menu> childMenuList;
}
